package com.eascs.pay.dao;

import org.springframework.stereotype.Repository;

import com.eascs.admin.common.dao.BaseO2oDao;
import com.eascs.pay.entity.O2oPayEntity;

/**
 * 
 * @author yuyong
 *
 */
@Repository
public class O2oPayDao extends BaseO2oDao {
	
	public O2oPayEntity getById(String id) {
		StringBuffer sql = new StringBuffer();
		sql.append("SELECT * FROM O2O_PAY WHERE ID=? AND BILL_STATUS='NEW' ");
		return super.getById(O2oPayEntity.class, id);
	}
}
